#pragma once

#include <stdint.h>
#include "esp_err.h"

#define IMAGE_W 240
#define IMAGE_H 240

esp_err_t decode_image(uint16_t **pixels);
void show_565_pictures(uint16_t *dest, int line, int frame, int linect);
void pretty_effect_calc_lines(uint16_t *dest, int line, int frame, int linect);
void show_565_campic(uint16_t *fbs,uint16_t *dest, int line, int frame, int linect);


esp_err_t pretty_effect_init(void);


